function [ board, piece ] = qStateToGameState( qState )
%QSTATETOGAMESTATE Summary of this function goes here
%   Detailed explanation goes here
global paramStateRows;
global paramStateCols;

piece = qState(paramStateRows*paramStateCols + 1,:);
board = reshape(qState(1:paramStateRows*paramStateCols),paramStateRows,paramStateCols);
end

